#ifndef UNITCONVERTER_H
#define UNITCONVERTER_H

#include <QtGui/QWidget>
#include "ui_unitconverter.h"

class UnitConverter : public QWidget
{
    Q_OBJECT

public:
    UnitConverter(QWidget *parent = 0);
    ~UnitConverter();
private slots:
	void temperatureUnitSelected(bool);
	void weightUnitSelected(bool);
	void lengthUnitSelected(bool);
	void volumeUnitSelected(bool);
    void calc();
private:
    Ui::UnitConverterClass ui;
    void setUnit(int);
    int unit();
};

#endif // UNITCONVERTER_H
